package com.legoo.studaychineseonline.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.legoo.studaychineseonline.R;

import java.util.List;

public class ClassFragmentAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public ClassFragmentAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setBackgroundRes(R.id.iv_pic,R.mipmap.img_ce1);

    }
}
